@extends('admin/layout/index')
@section('head')
<!-- Plugin Stylesheets first to ease overrides -->
<link rel="stylesheet" type="text/css" href="/admin/plugins/colorpicker/colorpicker.css" media="screen">
<link rel="stylesheet" type="text/css" href="/admin/plugins/prettyphoto/css/prettyPhoto.css" media="screen">

<!-- Required Stylesheets -->
<link rel="stylesheet" type="text/css" href="/admin/bootstrap/css/bootstrap.min.css" media="screen">
<link rel="stylesheet" type="text/css" href="/admin/css/fonts/ptsans/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="/admin/css/fonts/icomoon/style.css" media="screen">

<link rel="stylesheet" type="text/css" href="/admin/css/mws-style.css" media="screen">
<link rel="stylesheet" type="text/css" href="/admin/css/icons/icol16.css" media="screen">
<link rel="stylesheet" type="text/css" href="/admin/css/icons/icol32.css" media="screen">

<!-- Demo Stylesheet -->
<link rel="stylesheet" type="text/css" href="/admin/css/demo.css" media="screen">

<!-- jQuery-UI Stylesheet -->
<link rel="stylesheet" type="text/css" href="/admin/jui/css/jquery.ui.all.css" media="screen">
<link rel="stylesheet" type="text/css" href="/admin/jui/jquery-ui.custom.css" media="screen">

<!-- Theme Stylesheet -->
<link rel="stylesheet" type="text/css" href="/admin/css/mws-theme.css" media="screen">
<link rel="stylesheet" type="text/css" href="/admin/css/themer.css" media="screen">
@endsection
@section('content')
<!-- 修改表单 -->
<form action="/admin/sale/insert" method='post'>
    {{ csrf_field() }}
<div class="mws-panel">
    <div class="mws-panel">
        <span><i class="icon-loading-2"></i>新增销售模块</span>
    </div>
    <div class="mws-panel-body no-padding">
            
            <div class="mws-form-inline">
                <div class="mws-form-row">
                   <label class="mws-form-label">模块标题</label>
                   <div class="mws-form-item">
                        <input type="text" name='title'>
                    </div>
                </div>
                <div class="mws-form-row">
                    <label class="mws-form-label">折扣率(单位%)</label>
                    <div class="mws-form-item">
                        <div class="small">
                            <span class="ui-spinner ui-widget ui-widget-content ui-corner-all"><input name='discount' class="mws-spinner ui-spinner-input" value="100" aria-valuenow="27" autocomplete="off" role="spinbutton" type="text"><a class="ui-spinner-button ui-spinner-up ui-corner-tr ui-button ui-widget ui-state-default ui-button-text-only" tabindex="-1" role="button" aria-disabled="false"><span class="ui-button-text"><span class="ui-icon ui-icon-triangle-1-n">▲</span></span></a><a class="ui-spinner-button ui-spinner-down ui-corner-br ui-button ui-widget ui-state-default ui-button-text-only" tabindex="-1" role="button" aria-disabled="false"><span class="ui-button-text"><span class="ui-icon ui-icon-triangle-1-s">▼</span></span></a></span>
                        </div>
                    </div>
                </div>
                <div class="mws-form-row">
                   <label class="mws-form-label">优先级</label>
                   <div class="mws-form-item">
                        <select class="large" name='position'>
                            <option value='1'>置顶</option>
                            <option value='0'>普通</option>
                        </select>
                    </div>
                </div>
                <div class="mws-form-row">
                    <label class="mws-form-label">描述</label>
                    <div class="mws-form-item">
                        <div class="large">
                            <textarea name="content" id="" cols="90" rows="10"></textarea>
                        </div>
                    </div>
                </div>
                <div class="mws-button-row">
                    <input value="提交" class="btn btn-danger" type="submit">
                    <input value="重置" class="btn " type="reset">
                </div>
            </div>
        </form>
    </div>
</div>
</div>
@endsection
@section('link')
 <!-- JavaScript Plugins -->
    <script src="/admin/js/libs/jquery-1.8.3.min.js"></script>
    <script src="/admin/js/libs/jquery.mousewheel.min.js"></script>
    <script src="/admin/js/libs/jquery.placeholder.min.js"></script>
    <script src="/admin/custom-plugins/fileinput.js"></script>
    
    <!-- jQuery-UI Dependent Scripts -->
    <script src="/admin/jui/js/jquery-ui-1.9.2.min.js"></script>
    <script src="/admin/jui/jquery-ui.custom.min.js"></script>
    <script src="/admin/jui/js/jquery.ui.touch-punch.js"></script>

    <!-- Plugin Scripts -->
    <script src="/admin/plugins/prettyphoto/js/jquery.prettyPhoto.min.js"></script>
    <script src="/admin/plugins/colorpicker/colorpicker-min.js"></script>

    <!-- Core Script -->
    <script src="/admin/bootstrap/js/bootstrap.min.js"></script>
    <script src="/admin/js/core/mws.js"></script>

    <!-- Themer Script (Remove if not needed) -->
    <script src="/admin/js/core/themer.js"></script>

    <!-- Demo Scripts (remove if not needed) -->
    <script src="/admin/js/demo/demo.gallery.js"></script>
@endsection
